/**
 * 博客分类查询参数
 */
export interface BlogCategoryQuery extends PageQuery {
  categoryId?: number;
  categoryName?: string;
  categoryIcon?: string;
  categoryRank?: number;
  isDeleted?: number;
  createTime?: Date;
  createBy?: number;
  updateTime?: Date;
  updateBy?: number;
}

/**
 * 博客分类详细
 */
export interface BlogCategoryPageVO {
  categoryId?: number;
  categoryName?: string;
  categoryIcon?: string;
  categoryRank?: number;
  color?: string;
  isDeleted?: number;
  createTime?: Date;
  createBy?: number;
  updateTime?: Date;
  updateBy?: number;
}

/**
 * 博客分类分页项类型声明
 */
export type BlogCategoryPageResult = PageResult<BlogCategoryPageVO[]>;

/**
 * 博客分类对象
 */
export interface BlogCategoryVO {
  categoryId: number | string;
  categoryName: string;
  categoryIcon?: string;
  categoryRank?: number;
  color?: string;
  count?: number;
  isDeleted?: number;
  createTime?: Date;
  createBy?: number;
  updateTime?: Date;
  updateBy?: number;
}

/**
 * 博客分类对象
 */
export interface BlogCategoryStatisticsVO {
  categoryId?: string;
  categoryName?: string;
  count?: number;
  color?: string;
}
